import ajax from '@/api/ajax'

// 获取排行榜歌单
export const reqGetRankList = () => ajax.get('/kuwo/rank')

// 获取排行榜歌单歌曲
export const reqGetRankSong = (bandId, pn, rn) => ajax.get(`/kuwo/rank/musicList?bangId=${bandId}&pn=${pn}&rn=${rn}`)

// 获取播放歌曲链接
export const reqGetSongUrl = (mid, type) => ajax.get(`/kuwo/url?mid=${mid}&type=${type}`)

// 获取最新评论列表和最热评论列表
export const reqGetCommentList = (type, page = 1) => ajax.get(`/kuwo/comment?sid=80958029&type=${type}&page=${page}&rows=30&digest=15`)
